﻿<a data-toggle="dropdown" href="#" class="dropdown-toggle">
	<img class="nav-user-photo" src="~/Content/themes/images/avatar2.png" alt="Jason's Photo" />
	<span class="user-info">
		<small>Welcome,</small>
         @User.Identity.Name 
	</span>

	<i class="icon-caret-down"></i>
</a>
<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-closer">
<li>
	<a href="#">
		<i class="icon-cog"></i>
		Settings
	</a>
</li>

<li>
	<a href="#">
		<i class="icon-user"></i>
		Profile
	</a>
</li>

<li class="divider"></li>
<li>
     @using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm" })) {
            @Html.AntiForgeryToken()
            <a href="javascript:document.getElementById('logoutForm').submit()">
                <i class="icon-off"></i>
                Log off
            </a>
        }
</li>
</ul>